﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace HelpInfo.GetMsWeb.Models
{
    public class PlanningCollectifViewModel
    {
        public IEnumerable<string> SelectedAgents { get; set; }
        public IEnumerable<SelectListItem> AgentsList { get; set; }
        public IEnumerable<PlanningViewModel> PlanningIndividuel { get; set; }

    }
    public class PlanningViewModel
    {
        public string Nom { get; set; }
        public string Prénom { get; set; }
        public string NomComplet
        {
            get
            {
                return string.Format("{0} {1}", Nom, Prénom);
            }
        }
        public System.DateTime Jour { get; set; }
        public string Matricule { get; set; }
        public Nullable<int> Num_semaine { get; set; }
        public string Type_Prise1 { get; set; }
        public Nullable<System.DateTime> Heure_début1 { get; set; }
        public Nullable<System.DateTime> Heure_fin1 { get; set; }
        public string Pause1 { get; set; }
        public string Repas1 { get; set; }
        public string IDEtablissement1 { get; set; }
        public string Type_Prise2 { get; set; }
        public Nullable<System.DateTime> Heure_début2 { get; set; }
        public Nullable<System.DateTime> Heure_fin2 { get; set; }
        public string Pause2 { get; set; }
        public string Repas2 { get; set; }
        public string IDEtablissement2 { get; set; }
        public string Type_Prise3 { get; set; }
        public Nullable<System.DateTime> Heure_début3 { get; set; }
        public Nullable<System.DateTime> Heure_fin3 { get; set; }
        public string Repas3 { get; set; }
        public string IDEtablissement3 { get; set; }
        public Nullable<bool> nuit { get; set; }
    }
}